// vite.config.ts
import { defineConfig } from "file:///C:/Users/25451/WebstormProjects/math/administration/node_modules/.pnpm/registry.npmmirror.com+vite@5.4.11_@types+node@20.17.12+sass@1.83.1/node_modules/vite/dist/node/index.js";
import vue from "file:///C:/Users/25451/WebstormProjects/math/administration/node_modules/.pnpm/registry.npmmirror.com+@vitejs+plugin-vue@5.2.1_vite@5.4.11+vue@3.5.13/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import vueJsx from "file:///C:/Users/25451/WebstormProjects/math/administration/node_modules/.pnpm/registry.npmmirror.com+@vitejs+plugin-vue-jsx@4.1.1_vite@5.4.11+vue@3.5.13/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs";
import vueDevTools from "file:///C:/Users/25451/WebstormProjects/math/administration/node_modules/.pnpm/registry.npmmirror.com+vite-plugin-vue-devtools@7.7.0_vite@5.4.11+vue@3.5.13/node_modules/vite-plugin-vue-devtools/dist/vite.mjs";
import path from "path";
import { createSvgIconsPlugin } from "file:///C:/Users/25451/WebstormProjects/math/administration/node_modules/.pnpm/registry.npmmirror.com+vite-plugin-svg-icons@2.0.1_vite@5.4.11/node_modules/vite-plugin-svg-icons/dist/index.mjs";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    vueJsx(),
    vueDevTools(),
    createSvgIconsPlugin({
      // Specify the icon folder to be cached
      iconDirs: [path.resolve(process.cwd(), "src/assets/icons")],
      // Specify symbolId format
      symbolId: "icon-[dir]-[name]"
    })
  ],
  resolve: {
    alias: {
      "@": path.resolve("./src")
      // 相对路径别名配置，使用 @ 代替 src
    }
  },
  // scss全局变量配置
  css: {
    preprocessorOptions: {
      scss: {
        javascriptEnabled: true,
        additionalData: '@import "./src/styles/variable.scss";'
      }
    }
  },
  server: {
    proxy: {
      "/dev-api": {
        // target: 'https://127.0.0.1:7276',
        target: "http://127.0.0.1:5269",
        changeOrigin: true,
        rewrite: (path2) => path2.replace(/^\/dev-api/, "/api"),
        secure: false
      }
    }
  }
});
export {
  vite_config_default as default
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